<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--准备好一个"容器"-->

<div id="test"></div>



<script type="text/javascript">
    let a = "name";
    let obj = {};
    obj[a]= "Tom";
    console.log(obj);

    function sum(a){
        return (b)=>{
            return (c)=>{
                return a+b+c;
            }
        }
    }

    console.log(sum(1)(2)(3));

</script>

</body>
</html>
